//
//  AfraDataBase--MovieActivity.h
//  UI_元旦豆瓣
//
//  Created by dllo on 16/1/9.
//  Copyright © 2016年 31付冬梅. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <sqlite3.h>

@class ActivityModel;

@interface AfraDataBase__MovieActivity : NSObject
{
    sqlite3 *dbPoint;
}//全局变量

//单例
+ (AfraDataBase__MovieActivity *)sharedInstenceDataBaseHandle;

//打开数据库
- (void)openDataBase;

//创建表单
- (void)createTable;

//增
- (void)insertModel:(ActivityModel *)model;

//删
- (void)deleteAllModel;
- (void)deleteModel:(ActivityModel *)model;

//更新
- (void)updateTable:(ActivityModel *)model;

//查询
- (NSMutableArray *)selectTable;











@end
